package com.lzx.adx.report.config;

import com.lzx.adx.report.bean.property.AdConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

@Configuration
public class BeanConfig {


    @ConfigurationProperties(prefix = "ad")
    @Bean
    public AdConfig filePathConfig(){

        return new AdConfig();
    }

}
